package cn.lutu.dao.mapper;


import cn.lutu.protocol.entity.Route;
import cn.lutu.protocol.entity.UserAndRole;
import cn.lutu.protocol.vo.RouteVO;
import cn.lutu.protocol.vo.VoteVO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoutesMapper extends BaseMapper<Route> {
//    void insert(Route route);
//
//    void update(Route route);
//
//    void  delete(Long id);

    List<RouteVO> selectRouteList();

    RouteVO selectRouteListById(Long id);

    List<RouteVO> selectRoute(Long id);

    RouteVO selectRouteById(Long id);




//    List<VoteVO> selectVoteById(Long id);
}
